import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const routes= [
    {
      path:'',
      redirect:'/home'
    },
    {
      path:'/home',
      component:()=>import('@/views/home/home')
    },
    {
      path:'/message',
      component:()=>import('@/views/message/message')
    },
    {
      path:'/shopping',
      component:()=>import('@/views/shopping/shopping')
    },
    {
      path:'/me',
      component:()=>import('@/views/me/me')
    },
]

export default new Router({
  routes
})


